package com.itheima.mobile.mapper;

import com.itheima.mobile.pojo.Setmeal;
import org.apache.ibatis.annotations.Select;

import java.util.List;


public interface SetmealDao {


    Setmeal findById(String id);

    @Select("select * from t_setmeal")
    List<Setmeal> getSetmeal();

    @Select("select name from t_setmeal where id = #{setmealId}")
    String findSetmealNameById(String setmealId);
}
